<?php
	function optionCache(){
		$arrOptions=OptionModel::F()->getAll();
		$arrData=array();
		foreach($arrOptions as $value){
			$arrData[$value->option_name]=$value->option_value;
		}
		Dyhb::cache("option",$arrData,array('cache_path'=>getcwd().'/data/~runtime/cache_'));
	}
?>